﻿using UnityEngine;
using System.Collections;

public class RockDisappear : MonoBehaviour {

	public float duration = 1;

	// Use this for initialization
	void Start () {
		Invoke("Disappear", duration);
	}

	void Disappear()
	{
		GameObject.Destroy(gameObject);
	}
}
